<?php


    // Author: Tomasz Durka
    // Date: 4th April 2007
    // Prints out a HTML submit tag
    
    
  function hidden_input ($name, $value, $params = array()) {
    if ($params['id']) {
      $id = " id=\"{$params['id']}\"";
    } else {
      $id = " id=\"{$name}\"";
    }
      
    $returned = "<input type=\"hidden\" name=\"{$name}\"{$id} value=\"{$value}\" {$extra}/>";
    return $returned;
    
  }

?>